<ion-content>
    <div class="page-content login-page">
        <div>
            <div class="login-title">欢迎登录</div>
            <div class="page-form">
                <p>
                    <input class="form-input"
                           [(ngModel)]="formData.username"
                           placeholder="请输入身份证号码" type="text">
                </p>
                <p>
                    <input class="form-input" [(ngModel)]="formData.password"
                           placeholder="请输入密码" type="password">
                </p>
            </div>
            <div class="login-options">
                <span></span>
                <span (click)="goToPage('verification-phone', 2)">忘记密码</span>
            </div>
            <div class="login-btn-block">
                <button class="block-btn"
                        [disabled]="loginLoading"
                        (click)="loginIn()">登录{{loginLoading ? '中……' : ''}}</button>
            </div>
        </div>
        <div class="login-footer">
            <div class="login-footer-title"
                 (click)="goToPage('verification-phone', 1)">验证码登录
            </div>
        </div>
    </div>
</ion-content>
